home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / faq / gdlist12.lha / graph.txt next >
Text File  |  1995-12-08  |  18KB  |  491 lines

  1. Hi!
  2.  
  3. 1. Library systems - good or bad ?
  4. 2. Coding of Amiga Graphics Boards - principles
  5. 3. Graphics Board hardware
  6. 4. Which Boards to support ?
  7. 5. Some Notes about Power PC Amigas...
  8. 6. Contact addresses...
  9.  
  10. 1. Library systems - good or bad ?
  11.  
  12. Most "hardware hackers" consider libraries a bad (slow) thing, that is
  13. of no use for game programming. That is not 100% true. As to libraries
  14. to access Graphics Boards there are *TWO SORTS* of libraries, slow libraries
  15. and fast libraries.
  16.  
  17. Slow libraries access the hardware using high-level interfaces, like the
  18. graphics.library of Amiga OS does. They have mostly no real low-level
  19. interface. There are calls like WritePixel and DrawLine in such a library.
  20. An example for a high-level library is the egs.library of EGS Graphics Boards
  21. (but with some tricks even this library MIGHT be useful for game programming,
  22. to use it UNMODIFIED is of no use, of course...)
  23.  
  24. Fast library do not provide a "fat" library interface. It basically provides
  25. calls to open screens, close screens, get the base address of the video RAM
  26. and perfrom double Buffering. Writing to the screen is done by yourself (you
  27. use the processor to write to the Bitmap and such stuff, using your own Assembly
  28. code...). Sometimes fast libraries provide code for accessing the Graphics Board
  29. blitters too. An example for a fast library is rtgmaster.library.
  30.  
  31. More about which libraries are slow and which are fast in chapter 3.
  32.  
  33. NOTE: You will have to change your mind about libraries. With Graphics Board
  34. equipped Amigas, the only solution for fast games are fast libraries that provide
  35. a low level interface to the Board hardware. Custom Chips are not longer "in".
  36.  
  37. 2. Coding of Amiga Graphics Boards - principles
  38.  
  39. I wrote down the principles of all available library systems known to me here...
  40.  
  41. A. Picasso II
  42.  
  43. This system is used by the Picasso II, and CyberGraphX can emulate it (Probably
  44. the Emulation will slow the thing down, but i tested it with a Texturemapping
  45. demo for Picasso II and AGA, and i got a speedup of AT LEAST 4 times using
  46. Picasso with the Cybergraphics emulation, compared to AGA (A4000/040 + Piccolo
  47. SD64).
  48.  
  49. The vilintuisup.library supports both High Level and Lowlevel functions.
  50.  
  51. There are low level functions for :
  52.  
  53. - Opening a native Picasso Screen (not usable for Intuition...)
  54. - Getting the base address of the video RAM
  55. - Performing Double Buffering
  56. - Changing colors and all that stuff
  57. - Closing the Screen again
  58.  
  59. Sad thing : Picasso Double Buffering is done using MoveScreen, it is no real
  60. double buffering. But it is said it should be very fast on that Board, the
  61. MoveScreen... you should test this before starting to code... there is no
  62. Triple Buffering available unless you code this yourself.
  63.  
  64. Because it is very easy to use, runs on many Boards and is Low Level, the
  65. vilintui.library is interesting for game/demo coders, in my opinion.
  66. If somebody has problems with coding the thing, ask me (i know how...)
  67.  
  68. Will be supported in the game Nemac 4.
  69.  
  70. B. Rtgmaster.library
  71.  
  72. Currently in Alpha stage of the developpement rtgmaster.library is a Low Level
  73. (=fast) library supporting :
  74.  
  75. - Opening a native Screen on the Board
  76. - Getting the Base address of the Video RAM
  77. - Performing Double and Triple Buffering
  78. - Changing Colors and all that stuff
  79. - Getting information about the structure of the Video RAM of the Board
  80. - Closing the Screen again
  81.  
  82. The initial release will support :
  83.  
  84. - all EGS Boards (including A2410, G110 and the usual EGS Boards...)
  85. - Picasso II
  86. - all Boards with an installed CyberGraphX system
  87. - ECS and AGA
  88.  
  89. It is *NOT* needed to deinstall your current WB-Emulation to install this library.
  90. For some things (direct video RAM access under EGS, DoubleBuffering under CyberGraphX
  91. this thing CHEATS...)
  92.  
  93. This library is freeware.
  94.  
  95. Will be supported in Textdemo and a handful of other games/demos.
  96.  
  97. If someone is interested, contact me (i am one of the coders of the thing...)
  98.  
  99. C. CyberGraphX/cybergraphics.library
  100.  
  101. This library supports Low Level AND High level calls, but the low level ones
  102. (that is : Getting base address of VRAM) are a bit complicated to use. There
  103. is no Doublebuffering up to now (you can do the same way like with the Picasso II
  104. though...)
  105.  
  106. There is a new version of CyberGraphics announced for 1996, that shall contain
  107. support for game programmers.
  108.  
  109. If you want to get CyberGraphX you will have to deinstall other WB-Emulations (EGS...)
  110. CyberGraphX is much faster than EGS (there is no difference for low level calls of
  111. course, as they access the same VRAM :) )
  112.  
  113. CyberGraphX is at about 40$, it comes for free with DraCo and with Cybervision (and
  114. will come for free with "Power UP" Power PC Board, with additional AGA support,
  115. and Power PC native code (and game programme support, 3D and multimedia functions
  116. and hopefully Low Level functions...)
  117.  
  118. Probably the first games using CyberGraphX (the old one) will be GLOOM Deluxe and
  119. Alien Breed 3D Special Edition...
  120.  
  121. If someone has problems with CyberGraphX Programming i could help... soon a
  122. documented demo source about this will be available...
  123.  
  124. D. EGS
  125.  
  126. EGS only supports High level functions. It is possible to get as near as possible to
  127. the graphics driver, though, and that way, it is quite okay. But it is not optimal,
  128. of course... EGS supports as many Double/Triple/... Buffers as you wish...
  129.  
  130. You are NOT able to use IDCMP-Ports with EGS (instead eDCMP of EGS which is similar).
  131.  
  132. If someone has problems, i could help (documentated demo source available...)
  133.  
  134. NOTE: Rumour says it, that EGS will be soon dropped... i do not know if this is
  135. true... but CyberGraphX is available for nearly all EGS Boards anyways...
  136.  
  137. E. HRG
  138.  
  139. This is the system of the Merlin. It is an "exote", but after
  140. what i heard, it is quite good in the 2.0 release. According
  141. to someone of ProDev, they provide similar features as CyberGraphX,
  142. but only for the Merlin and not for a lot of Boards like CyberGraphX
  143. does, AND they even support Double Buffering what CyberGraphX
  144. currently does not...
  145.  
  146. F. Graffiti
  147.  
  148. You can order information from sysop@nostlgic.tng.oche.de
  149. No libraries, you hack in everything yourselves... :) But this
  150. stuff is a bit confusing...
  151.  
  152. 3. Graphics Board hardware
  153.  
  154. NOTE:
  155.  
  156. Zorro II is slowest (about 3 MB/sec.)
  157. Zorro II/III autosensing faster on Zorro III systems
  158. Zorro III only is even faster, as to rumours, as an autosensing system
  159. (about 15-30 MB/sec., i saw a lot of different values... probably more near 15 MB/sec.)
  160. DraCo Direct is fastest (but only available for DraCo)
  161. (30 MB/sec. at least, maybe even near 50 MB/sec.)
  162.  
  163. Another Note :
  164.  
  165. PCI is, after what i heard, between 50 and 150 MB/Sec. ... so hopefully Amiga Tech.
  166. will build PCI in future Amigas...
  167.  
  168. A.
  169.  
  170. Name: Picasso II
  171. Manufacturer: Villagetronic
  172. VRAM Size : 2 MB
  173. Chipset : Cirrus Logic 32 Bit
  174. Bus system : Zorro II
  175. Library : Vilintuisup.library or cybergraphics.library or rtgmaster.library
  176. Note : There will be a Picasso III in 1996. This Board will be available
  177.        for Zorro Systems, A1200, and Mac as far as i heard...
  178.  
  179. B.
  180.  
  181. Name: Piccolo
  182. Manufacturer: Ingenieurbuero Helfrich
  183. VRAM Size : 2 MB
  184. Chipset : Cirrus Logic 32 Bit
  185. Bus system: Zorro II/Zorro III autosensing
  186. Library : egs.library or cybergraphics.library or rtgmaster.library
  187. Note : Out of production...
  188.  
  189. C.
  190.  
  191. Name: Piccolo SD64
  192. Manufacturer: Ingenieurbuero Helfrich
  193. VRAM Size : 2 or 4 MB
  194. Chipset : Cirrus Logic 64 Bit
  195. Bus system: Zorro II/Zorro III autosensing
  196. Library: egs.library or cybergraphics.library or rtgmaster.library
  197. Note : Successor of Piccolo (Because of Piccolo SD64 Piccolo is no
  198.        longer in production). One of the 4 fastest Amiga Graphics Boards.
  199.  
  200. D.
  201.  
  202. Name: EGS Spectrum
  203. Manufacturer: GVP
  204. VRAM Size: 2 MB
  205. Chipset : Cirrus Logic 32 Bit
  206. Bus system: Not sure (but it runs on Zorro II in any case)
  207. Library: egs.library or cybergraphics.library or rtgmaster.library
  208. Note: No longer in Production, basically a Piccolo clone
  209.  
  210. E.
  211.  
  212. Name: Rainbow 3
  213. Manufacturer: Ingenieurbuero Helfrich
  214. VRAM Size: 4 MB
  215. Chipset: Don't know
  216. Bus system: Do not know
  217. Library: egs.library or rtgmaster.library
  218. Note: Don't know, if still in production
  219.  
  220. F.
  221.  
  222. Name: Graffity
  223. Manufacturer: bsc
  224. VRAM Size: 2 MB
  225. Chipset: Cirrus Logic 32 Bit
  226. Bus system: Do not know, but i think it is a ZII/ZIII autosensing Board...
  227. Library: egs.library
  228. Note: Do not know, if this got ever produced, may run with rtgmaster.library
  229.       too, not sure... In every case, not longer in production
  230.       Do not confuse with "Graffiti", that is something else...
  231. G.
  232.  
  233. Name: A2410
  234. Manufacturer: Commodore
  235. VRAM Size: 1 MB, as far as i know...
  236. Chipset: ???
  237. Bus system: Zorro II
  238. Library: egs.library or cybergraphics.library or rtgmaster.library
  239. Note: Out of production.
  240.  
  241. H.
  242.  
  243. Name: Retina Z3
  244. Manufacturer: Macrosystems
  245. VRAM Size: 4 MB
  246. Chipset : Do not know
  247. Bus system: Zorro III only
  248. Library: Special Retina stuff (do not know...) or cybergraphics.library
  249. Note: One of the 4 fastest Amiga Graphics Boards
  250.  
  251. I.
  252.  
  253. Name: Altais
  254. Manufacturer: Macrosystems
  255. VRAM Size: 1 or 4 MB
  256. Chipset: Do not know, but it is a 64 Bit one...
  257. Bus system: DraCo Direct only
  258. Library: Special DraCo stuff (do not know...) or cybergraphics.library
  259. Note: Probably the fastest Amiga Graphics Board (but using that damned
  260.       fast DraCo Direct slots simply is not fair for speed comparisions :)))
  261.       This Board is only available for DraCo (4 MB in the 060 DraCo, 1 MB
  262.       in the 040 DraCo). But if you use cybergraphics.library your stuff
  263.       will run on it... the DraCo Direct slots have about the double speed
  264.       of Zorro III.
  265.  
  266.  
  267. J.
  268.  
  269. Name: Merlin
  270. Manufacturer: XPert
  271. VRAM Size: 2 or 4 MB (rumours about 8 and 16 MB Boards, not sure if ever built,
  272.            probably no...)
  273. Chipset: Do not know
  274. Bus System: Zorro II/Zorro III autosensing (if upgrade install that autosensing works :) )
  275. Library: HRGSystem.library or cybergraphics.library (maybe rtgmaster.library somedays...)
  276. Note: Merlin is the famous ProDev Board, probably the first modern Amiga Graphics
  277.       Board at all. The problem with the Merlin: ProDev did something wrong with it,
  278.       and the first version did not run together with some other Zorro III Boards (for
  279.       example with the Fastlane controller). After XPert died, ProDev took over Merlin-Support
  280.       and updated Merlins, so that problem was solved. But some guys are waiting till this
  281.       day, 1 year after the upgrade offer, to get their modified Merlin back. Another
  282.       problem with the Board : To get a low price, XPert used SLOW RAM with the Board.
  283.       Most Amigans think, Merlin sucks... but i heard with the upgrade and the latest
  284.       version of HRGSystem.library it would be quite okay...
  285.  
  286. K.
  287.  
  288. Name: Cybervision
  289. Manufacturer: Phase 5
  290. VRAM Size: 2 or 4 MB
  291. Chipset: Trio S3 64 Bit
  292. Bus system: Zorro III only
  293. Library: cybergraphics.library or rtgmaster.library
  294. Note: Probably the second fastest Amiga Graphics Boards, the fastest one if the Amiga is
  295.       not a DraCo (although Piccolo SD64 is faster with WritePixel, if cybergraphics.library
  296.       is installed...). As far as i know, it can be directly connected to the Cyberstorm
  297.       Board, and there it MIGHT be that it even will be faster than the Altais... but i
  298.       do not know... Hopefully Phase 5 will produce a possibillity to connect the Board
  299.       directly to their "Power UP" Power PC Board...
  300.  
  301. L.
  302.  
  303. Name: Graffiti
  304. Manufacturer: sysop@nostlgic.tng.oche.de
  305. VRAM Size: Uses Amiga Chip Memory...
  306. Chipset: None (uses Blitter, Copper and Main Processor...)
  307. Bus system: Where you plug in the 1084 monitor
  308. Library: None (maybe someday rtgmaster.library)
  309. Note: This is no real Graphics Board, but some sort of HARDWARE HACK. It is slow.
  310.       On the other side it is cheap. It has a strange screen display that slows things
  311.       down (but will get the speed of an A1200 + Fastram on an unexpanded A1200
  312.       AT LEAST). If you do a good job optimizing (saving graphics in Graffiti format
  313.       for example) it will be much faster, maybe even like a Zorro II Graphics Board.
  314.       If you save graphics in Graffiti format and use only longword access you will get
  315.       about 72 fps for 320x256 Fullscreen. The Board has no Screenmodes and no
  316.       WB-Emulation available, only for games... (but it should not be that complicated
  317.       to port AGA stuff to Graffiti as you can still use Copper/Blitter, and Graffiti runs
  318.       on ECS systems too...) I do not know, if the Board is already available.
  319.  
  320. Other things out there :
  321.  
  322. - Domino : The thing XPert did before the Merlin. cybergraphics available for it, but
  323.            it is damned slow. It is based on a 30$ old PC graphics Board.
  324. - Visiona: I do not know much about this Board, but if i am right, another XPert work
  325. - Rainbow 2 : Old Ingenieurbuero Helfrich work, about that "great" like the Domino.
  326.               As far as i know, there is EGS for this Board. rtgmaster.library MIGHT
  327.               work with it or not...
  328. - G110 : Old but very fast GVP Board connected directly to the Bus of their turboboards
  329.          (that is faster than Zorro III, about 30-50 MB/sec., after what i heard). If
  330.          only GVP had lived longer... sigh... they could have done a Zorro III version.
  331.          As far as to what i know the Board is a BIT slower than Retina Z3, SD64 and
  332.          Cybervision. Only available for A2000. Out of production. Probably the fastest
  333.          available Board for A2000. Supports EGS and rtgmaster.library. Was not cheap,
  334.          as far as what i know.
  335.  
  336. All not mentioned Boards are framebuffers or mega-old stuff, that nearly noone owns...
  337.  
  338. 4. What Boards to support
  339.  
  340. I would :
  341.  
  342. - support rtgmaster.library or cybergraphics.library at least
  343. - support Graffiti
  344. - Maybe Picasso II
  345.  
  346. Other things only, if needed (it makes no sense supporting EGS if you already
  347. support rtgmaster.library, because EGS has no advance about it...)
  348. HRG is exotic...
  349. And if you already support cybergraphics.library or rtgmaster.library there
  350. is the question if you need anything of the others...
  351.  
  352. CyberGraphics would be great as a standard, if it ONLY would support Double/Triple
  353. Buffering like rtgmaster.library... i hope, release 3 will do... and as long
  354. as it does not, i personally will use rtgmaster.library for my game...
  355.  
  356. 5. Some Notes about Power PC Amigas...
  357.  
  358. In the game/demo developper list, someone replied :
  359.  
  360. * How should the switch for AmigaDOS to PowerPC be in your opinion ?
  361.  
  362. PowerPC's should be 100% AmigaDOS compatible but I know that's
  363. not realistic.
  364.  
  365.  
  366. This is probably the fear of many Amigans (Amiga DOS to be dropped), but i
  367. am able to calm you. Amiga DOS WILL NOT BE DROPPED !!!
  368.  
  369. At the Computer 95 i asked the guys of Phase 5 who are doing the Power PC
  370. Amiga (wake up, guys, this is not Amiga Technologies doing Power PC Amiga,
  371. that will probably be licensed work of Phase 5) and they told me the
  372. following :
  373.  
  374. "
  375. - We work in cooperation with Amiga Technologies.
  376. - Future Power PC products of Phase 5 and Amiga Tech. will be compatible.
  377. - PowerUP Power PC Boards will be out in June/July 1996.
  378. - As software we will use a PowerPC version of Amiga DOS.
  379. - The Amiga DOS port already started, but in June/July 1996 probably
  380.   the port is only partially done.
  381. - What is not ported, will be done with 680x0 emulation.
  382. - We will finish to port the Amiga DOS to Power PC as soon as possible.
  383. - Older (680x0) software will run using 680x0 Emulation on Power PC Amigas.
  384. - On a Power PC 604, the 680x0 Emulation will have the speed of at least
  385.   an 68040.
  386. - But of course the goal is to do everything in Power PC code, that is
  387.   much faster.
  388. - For the Graphics we will use CyberGraphX 3.0 Power PC Native.
  389. - An 680x0 version of CyberGraphX 3.0 will be too available.
  390. - CyberGraphX 3.0 will support AGA and Graphics Boards.
  391. - CyberGraphX 3.0 will include new 3D, multimedia, audio and video functions
  392.   that are especially interesting to game developpers.
  393. "
  394.  
  395. They could not answer, if future Amigas from Amiga Technology will be
  396. compatible as to the GRAPHICS SYSTEM too, but they hope that this will
  397. be so (CyberGraphX 3.0 will be available more than a HALF YEAR before
  398. Amiga Technologies Power Amigas will show up...
  399.  
  400. So Power PC Amigas will be 100% Amiga DOS compatible... at least as long
  401. that AmigaDOS stuff runs on an 68040, as this will be 68040 emulation...
  402.  
  403. Power UP Boards will be available in January for developpers, the cheapest
  404. Board (using Power PC 603e) will be at 1000 german marks (that is about 1.3x
  405. the cost of a new A1200). It will be available for A1200, A3000 and A4000
  406. (maybe for A2000 later...).
  407.  
  408. 6. Contact Addresses :
  409.  
  410. Picasso :
  411.  
  412. VillageTronic Marketing GmbH
  413. Wellweg 95
  414. D-31157 Saarstedt
  415. Germany
  416.  
  417. email : goehler@adsp.arkon.sub.org (is this stite still running ?) :
  418.         Software and hardware documentation
  419.         crest@adsp.arkon.sub.org : Hardware developement
  420.  
  421. -------------------------------------------------------------------------
  422.  
  423. Graffiti :
  424.  
  425. sysop@nostlgic.tng.oche.de (Jens Schoenfeld, the manufacturer...)
  426.  
  427. -------------------------------------------------------------------------
  428.  
  429. EGS:
  430.  
  431. uli@wombat.okapi.sub.org (One of the main programmers of EGS, but he
  432. does not do much more EGS stuff, as far as i know...)
  433.  
  434. OR
  435.  
  436. Includes from an older version are on Aminet
  437.  
  438. OR
  439.  
  440. Ingenieurbuero Helfrich
  441. Technologie-Zentrum Delmenhorst
  442. Am Wollelager 8
  443. D-27749 Delmenhorst
  444. Germany
  445.  
  446. (Manufacturer of the Piccolo and the Piccolo SD64)
  447.  
  448. OR
  449.  
  450. ftp.orion.etsu.edu (or something similar...)
  451.  
  452. OR
  453.  
  454. ftp.uni-stuttgart.de (i am not sure, if the EGS directory still exists...)
  455.  
  456. -------------------------------------------------------------------------
  457.  
  458. CyberGraphX:
  459.  
  460. fmariak@chaosengine.ping.de (Frank Mariak)
  461. marvin@sun.ph-cip.uni-koeln.de
  462.  
  463. -------------------------------------------------------------------------
  464.  
  465. Cybervision:
  466.  
  467. phase 5 digital products
  468. In der Au 27
  469. D-61440 Oberursel
  470. Germany
  471.  
  472. -------------------------------------------------------------------------
  473.  
  474. Retina and Retina Z3 and DraCo Altais :
  475.  
  476. MacroSystem GmbH
  477. Borgaecker 2-6
  478. D-58454 Witten
  479. Germany
  480.  
  481. -------------------------------------------------------------------------
  482.  
  483. rtgmaster.library :
  484.  
  485. John.Hendrikx@grafix.xs4all.nl
  486.  
  487. or myself...
  488.  
  489. MagicSN
  490. haeuser@tick.informatik.uni-stuttgart.de
  491.